package com.byp.java_sport.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.github.xiaoymin.knife4j.annotations.ApiSupport;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表;
 * @author : http://www.chiner.pro
 * @date : 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false  )
@TableName("sys_user")

public class SysUser extends BasePojo{

    /** 账号 */

    @Schema(description = "账号")
    private String username ;


    /** 密码 */
    @Schema(description = "密码")
    private String password ;



    /** 用户的密码盐 */
    @Schema(hidden = true)
    private String slat ;

    /** 性别;女0 男1 未知2 */
    @Schema(title = "性别",description = "女0 男1 未知2")
    private Integer sex ;


    /** 昵称 */
    @Schema(description = "昵称")
    private String nickname ;

    /** 电话 */
    @Schema(description = "手机号")
    private String phone ;

    /** 邮箱 */
    @Schema(description = "邮箱")
    private String email ;

    /** 头像 */
    @Schema(description = "头像")
    private String avatar ;


}
